<div class="modal fade modal-md" id="modelContent">
	<div class="modal-dialog modal-md">
        <div class="modal-content"></div>
    </div>
</div>

<div class="portlet light bordered">
	<div class="portlet-title">
        <div class="caption font-dark">
            <i class="fa fa-cog font-dark"></i>
            <span class="caption-subject bold">账房 > 单据管理 > 发货单 > 物流发货单详情</span>
        </div>
    </div>
    <div class="portlet-body form">
    	<form role="form" action="" class="form-horizontal" method="">
    	<div class="portlet-title">
             <div class="caption font-dark">
                 <span class="caption-subject bold">订单发货明细</span>
             </div>
         </div>
         <div class="form-body left">
         	<div class="form-group">
         		<div class="col-md-3">
                	<label class="control-label col-md-4">收款单号：</label>
                	<div class="control-label col-md-8" style="text-align:left">$!item.id</div>
               </div>
               <div class="col-md-3">
                <label class="control-label col-md-4">订单号：</label>
               		 <div class="control-label col-md-8" style="text-align:left">$!item.orderId</div>
               </div>
               <div class="col-md-3">
                	<label class="control-label col-md-4">配送方式：</label>
               		 <div class="control-label col-md-8" style="text-align:left">$!itemOrder.tranType</div>
               </div>
               <div class="col-md-3">
           			<label class="control-label col-md-4">生成时间：</label>
                	<div class="control-label col-md-8" style="text-align:left">$!item.createTimeString</div>
               	</div>
            </div>
            
            <div class="form-group">
             <div class="col-md-3">
                <label class="control-label col-md-4">物流公司：</label>
                <div class="control-label col-md-8" style="text-align:left">$!item.transCompany</div>
             </div>
             <div class="col-md-3">
                <label class="control-label col-md-4">物流单号：</label>
                <div class="control-label col-md-8" style="text-align:left">$!item.transCompanycode</div>
             </div>
             <div class="col-md-3">
                <label class="control-label col-md-4">购买会员：</label>
                <div class="control-label col-md-8" style="text-align:left">$!itemOrder.userId</div>
              </div> 
              <div class="col-md-3"> 
                <label class="control-label col-md-4">收货企业：</label>
                <div class="control-label col-md-8" style="text-align:left">$!itemOrder.company</div>
              </div> 
            </div>
               
            <div class="form-group">
            	<div class="col-md-3"> 
                	<label class="control-label col-md-4">收货人：</label>
                	<div class="control-label col-md-8" style="text-align:left">$!item.revicer</div>
                </div> 
                <div class="col-md-3">
                <label class="control-label col-md-4">收货人电话：</label>
                <div class="control-label col-md-8" style="text-align:left">$!item.rePhone</div>
                </div> 
                <div class="col-md-3">
                <label class="control-label col-md-4">收货地区：</label>
                <div class="control-label col-md-8" style="text-align:left">$!item.reArea</div>
                 </div> 
                 <div class="col-md-3">
                <label class="control-label col-md-4">详细地址：</label>
                <div class="control-label col-md-8" style="text-align:left">#if($item.reAdress) $!item.reAdress #else - #end</div>
                </div> 
            </div>
           
             <div class="form-group">
             	 <div class="col-md-3">
                	<label class="control-label col-md-4">发货种类：</label>
               		 <div class="control-label col-md-8" style="text-align:left">$!productNumber</div>
                </div> 
                <div class="col-md-3">
                	<label class="control-label col-md-4">购买数量：</label>
                	<div class="control-label col-md-8" style="text-align:left">$!QuantityNum</div>
                </div> 
                <div class="col-md-3">
                	<label class="control-label col-md-4">发货数量：</label>
               	 	<div class="control-label col-md-8" style="text-align:left">$!NOnunber</div>
                </div> 
                 <div class="col-md-3">
                	<label class="control-label col-md-4">发货金额：</label>
                	<div class="control-label col-md-8" style="text-align:left">$!itemOrder.productFee </div>
                 </div> 
            </div>
           <div class="form-group">
            	 <div class="col-md-3">
               		 <label class="control-label col-md-4">发货人：</label>
                	 <div class="control-label col-md-8" style="text-align:left">$!item.sender</div>
                  </div>
                  <div class="col-md-3">
                 	 <label class="control-label col-md-4">发货仓库：</label>
                	 <div class="control-label col-md-8" style="text-align:left">$!item.senderCompany</div>
                 </div>
                  <div class="col-md-3">
                	<label class="control-label col-md-4">发货备注：</label>
               	 	<div class="control-label col-md-8" style="text-align:left">$!item.note</div>
                  </div>
                  <div class="col-md-3">
           			<label class="control-label col-md-4">发货时间：</label>
                	<div class="control-label col-md-8" style="text-align:left">$!item.affirmTimeString</div>
               	</div>
            </div>
         </div>
         </div>
         
         <div class="portlet-title">
             <div class="caption font-dark">
                 <span class="caption-subject bold">发货货品信息</span>
             </div>
         </div>
         <div class="form-body left">
             <div class="form-group">
                 <div class="col-md-12">
                     <table class="table table-striped table-bordered table-hover">
                         <thead>
                         <tr>
                             <th>货品编号</th>
                             <th>货品名称</th>
                             <th>规格</th>
                             <th>分类</th>
                             <th>品牌</th>
                             <th>售价</th>
                             <th>优惠金额</th>
                             <th>购买数量</th>
                             <th>发货数量</th>
                             <th>库位</th>
                             <th>税码</th>
                         </tr>
                         </thead>
                         <tbody id="itemGroup">
                         #foreach ($item1 in $itemList)
                          #set($Sku = $map.get($item1))
                          #set($count = ($velocityCount+(-1)))
                          #set($number =$!itemOrder.couponReduction +$!itemOrder.promotionsReduction+$!itemOrder.otherReduction)
                         
                         <tr>
                             <td>$!item1.skuCode</td>
                             <td>$!item1.productName</td>
                             <td>$!item1.attrAndAttrValues</td>
                             <td>$!categoryNameList.get($count)</td>
                             <td>#if($productList.get($count)) $!productList.get($count) #else - #end</td>
                             <td>$!item1.price</td>
                             <td>
                             	$number
                             </td>
                             <td>#set($!item1.quantity=$!item1.quantity/$Sku.translateRate)
                             	$!item1.quantity
                             </td>
                             <td>$!itemSendMap.get($!item1.id)</td>
                         	<td>$!Sku.storageLocation</td>
                         	<td>$!item1.tax</td>
                          </tr>
                          #end
                         </tbody>
                     </table>
                 </div>
             </div>
         </div>
         
         <div class="form-actions right">
				<a href="/sendGoods/list" class="btn btn-outline grey-salsa ajaxify">返回</a>
         </div>  
         </form>
    </div>
</div>
